Put `stdout` in an `NSTextView` while running the a command
Posted
by Koning Baard XIV
on Stack Overflow
See other posts from Stack Overflow
or by Koning Baard XIV
Published on 2010-04-24T11:34:19Z
Indexed on
2010/04/24
11:43 UTC
Read the original article
Hit count: 147
I'm creating a Cocoa Application, which will need to run the rails
command. This command generates an output, and streams it to stdout
. I want to show this output to the user in an NSTextView
(so basicly stream the stdout
to the NSTextView
). I don't really care about how I should run the command, as long as I can set the working directory.
Can anyone help me? Thanks
© Stack Overflow or respective owner